package cn.bdqn.pojo;

//实体类：花卉信息
public class Flower {
    private int id;
    private String name;
    private String anothername;
    private String property;
    private double price;
    private String production;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAnothername() {
        return anothername;
    }

    public void setAnothername(String anothername) {
        this.anothername = anothername;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getProduction() {
        return production;
    }

    public void setProduction(String production) {
        this.production = production;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "Flower{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", anothername='" + anothername + '\'' +
                ", property='" + property + '\'' +
                ", price=" + price +
                ", production='" + production + '\'' +
                '}';
    }

    public Flower() {
    }

    public Flower(int id, String name, String anothername, String property, double price, String production) {
        this.id = id;
        this.name = name;
        this.anothername = anothername;
        this.property = property;
        this.price = price;
        this.production = production;
    }

    public Flower(String name, String anothername, String property, double price, String production) {
        this.name = name;
        this.anothername = anothername;
        this.property = property;
        this.price = price;
        this.production = production;
    }
}
